package gr.gsis.efmy.model;

import java.io.IOException;

import org.junit.Before;
import org.junit.Test;

public class DataSerializerTest {
	
	private PayrollTaxAggregate data;
	
	@Before
	public void createData() {
		data = new PayrollTaxAggregate();
		data.header("20100326", (short) 2010);
	}
	
	@Test
	public void testSerializer() throws IOException {
		DataSerializer ds = DataSerializer.getInstance();
		ds.createFile("test.txt", data);
	}
}
